package cn.thr.pethome.employee.domain;

import java.math.BigDecimal;
import java.util.Date;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.thr.pethome.base.domain.BaseDomian;
import cn.thr.pethome.department.domain.Department;
import lombok.Data;

/**
 * <p>
 *
 * </p>
 *
 * @author thr
 * @since 2023-01-16
 */
@Data
public class Employee extends BaseDomian{

    private static final long serialVersionUID = 1L;
    @Excel(name = "员工名字" ,orderNum = "1", width = 30, isImportField = "true_st")
    private String username;
    @Excel(name = "员工邮箱" ,orderNum = "1", width = 30, isImportField = "true_st")
    private String email;
    @Excel(name = "员工手机" ,orderNum = "1", width = 30, isImportField = "true_st")
    private String phone;
    @Excel(name = "员工登录账号" ,orderNum = "1", width = 30, isImportField = "true_st")
    private String salt;
    @Excel(name = "员工登录密码" ,orderNum = "1", width = 30, isImportField = "true_st")
    private String password;
    private Integer age;
    @Excel(name = "状态" ,orderNum = "4",replace ={"待审核_0","通过_1"} , width = 30, isImportField = "true_st")
    private Integer state;
    private Long department_id;
    private Long logininfo_id;
    private Long shop_id;

    //关联表的数据
    private Department department;
}
